<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS盒子模型</title>
    <style>
        div {
            border: 1px solid black;
        }
    </style>
</head>
<body>

<div style="margin: 50px">内容content</div>
<div style="margin: 100px">内容content</div>
<div style="margin-top: 30px">内容content</div>
<div style="margin-bottom: 30px">内容content</div>
<div style="margin-left: 30px">内容content</div>
<div style="margin-right: 30px">内容content</div>
<div style="border: 10px solid black">内容content</div>
<div style="border-top: 10px solid black">内容content</div>
<div style="border-bottom: 10px solid black">内容content</div>
<div style="border-left: 10px solid black">内容content</div>
<div style="border-right: 10px solid black">内容content</div>
<div style="padding: 30px">内容content</div>
<div style="padding-top: 30px">内容content</div>
<div style="padding-bottom: 30px">内容content</div>
<div style="padding-left: 30px">内容content</div>
<div style="padding-right: 30px">内容content</div>
<div>内容content</div>
<div>内容content</div>
<div>内容content</div>
</body>
</html>